home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / internet / nos / nos-ppp / tomshell.bat < prev    next >
DOS Batch File  |  1995-05-19  |  2KB  |  88 lines

  1. set SNEWS D:\NOS\SPOOL\NEWS
  2. set NOS_ROOT D:\NOS
  3.  
  4. cd $NOS_ROOT
  5. cls
  6. echo Demon Internet Access Software for the Atari ST v1.10
  7. echo ===============================================================
  8. echo
  9. echo Compilation done by Stuart Coates (scoates@filesys.demon.co.uk)
  10. echo
  11. echo Thanks go to Graham Judd (gjudd@siward.demon.co.uk) for his
  12. echo valuable advice in configuring SNEWS/KA9Q, and to all the
  13. echo people who continue to support the ST.
  14. echo
  15. echo For details of the programs in this compilation see
  16. echo the relevent document files in the \NOS\DOCS directory.
  17. echo For full details, obtain the relevent archive from 
  18. echo the Demon Internet FTP site (ftp.demon.co.uk:/pub/atari).
  19. echo
  20. anykey
  21. cls
  22. :loop
  23.  
  24. cd $NOS_ROOT
  25. nosmenu
  26. cls
  27.  
  28. if $status == 12 then goto reindex
  29. if $status == 11 then goto expire
  30. if $status == 10 then goto unbatch
  31. if $status == 4 then goto shell
  32. if $status == 3 then goto mailer
  33. if $status == 2 then goto snews
  34. if $status == 1 then goto nos
  35. if $status == 0 then goto exit
  36.  
  37.  
  38. echo
  39. echo ERROR: Invalid status in tomshell.bat
  40. echo Report to scoates@filesys.demon.co.uk
  41. echo
  42. anykey
  43. goto loop
  44.  
  45. :reindex
  46. cd $NOS_ROOT
  47. reindex
  48. goto loop
  49.  
  50. :expire
  51. cd $NOS_ROOT
  52. expire
  53. anykey
  54. goto loop
  55.  
  56. :unbatch
  57. cd $NOS_ROOT
  58. unbatch
  59. anykey
  60. goto loop
  61.  
  62. :mailer
  63. cd $NOS_ROOT
  64. mailer
  65. goto loop
  66.  
  67. :snews
  68. cd $NOS_ROOT
  69. snews
  70. goto loop
  71.  
  72. :nos
  73. cd $NOS_ROOT
  74. nos
  75. goto unbatch
  76.  
  77. :shell
  78. echo Entering shell.......
  79. echo
  80. echo Type 'exit' to return
  81. echo
  82. echo
  83. interact
  84. goto loop
  85.  
  86. :exit
  87. system
  88.